package com.translate.web.param;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import com.translate.web.constant.ValidateCondtionAndMessage;
import com.translate.web.param.contract.ICustomerPoolAddMemberParam;

/**
 * 公海员工成员
 * @author 111
 */
public class CustomerPoolAddMemberParam implements ICustomerPoolAddMemberParam {

    /**
     * 公海编号
     */
	@Min(value = ValidateCondtionAndMessage.MIN_ID, message = ValidateCondtionAndMessage.MIN_ID_MSG)
    private Integer poolId;

    /**
     * 成员id
     */
	@NotNull
	@Min(value = ValidateCondtionAndMessage.MIN_ID, message = ValidateCondtionAndMessage.MIN_ID_MSG)
    private Integer memId;
	
	private Integer createUserId;

    /**
     * 成员类型 0 员工 1部门
     */
	@NotNull
	@Min(value = ValidateCondtionAndMessage.MIN_STATUS, message = ValidateCondtionAndMessage.MIN_STATUS_MSG)
	@Max(value = ValidateCondtionAndMessage.MAX_STATUS, message = ValidateCondtionAndMessage.MAX_STATUS_MSG)
    private Byte memType;

    /**
     * 管理员id
     */
	@NotNull
	@Min(value = ValidateCondtionAndMessage.MIN_STATUS, message = ValidateCondtionAndMessage.MIN_STATUS_MSG)
	@Max(value = ValidateCondtionAndMessage.MAX_STATUS, message = ValidateCondtionAndMessage.MAX_STATUS_MSG)
    private Byte managerStatus;

    /**
     * 部门名称【冗余】
     */
	@Pattern(regexp = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_BY_SERIESDESCRIPTION, message = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_BY_SERIESDESCRIPTION_MSG)
    private String deptName;


    public Byte getManagerStatus() {
		return managerStatus;
	}

	public void setManagerStatus(Byte managerStatus) {
		this.managerStatus = managerStatus;
	}

	/**
     * 公海编号
     * @author 111
     * @date 2023-04-03 11:49:47
     * @return pool_id 公海编号
     */
    public Integer getPoolId() {
        return poolId;
    }

    /**
     * 公海编号
     * @author 111
     * @date 2023-04-03 11:49:47
     * @param poolId 公海编号
     */
    public void setPoolId(Integer poolId) {
        this.poolId = poolId;
    }


    /**
     * 成员id
     * @author 111
     * @date 2023-04-03 11:49:47
     * @return mem_id 成员id
     */
    public Integer getMemId() {
        return memId;
    }

    /**
     * 成员id
     * @author 111
     * @date 2023-04-03 11:49:47
     * @param memId 成员id
     */
    public void setMemId(Integer memId) {
        this.memId = memId;
    }

    /**
     * 成员类型 0 员工 1部门
     * @author 111
     * @date 2023-04-03 11:49:47
     * @return mem_type 成员类型 0 员工 1部门
     */
    public Byte getMemType() {
        return memType;
    }

    /**
     * 成员类型 0 员工 1部门
     * @author 111
     * @date 2023-04-03 11:49:47
     * @param memType 成员类型 0 员工 1部门
     */
    public void setMemType(Byte memType) {
        this.memType = memType;
    }


    /**
     * 部门名称【冗余】
     * @author 111
     * @date 2023-04-03 11:49:47
     * @return dept_name 部门名称【冗余】
     */
    public String getDeptName() {
        return deptName;
    }

    /**
     * 部门名称【冗余】
     * @author 111
     * @date 2023-04-03 11:49:47
     * @param deptName 部门名称【冗余】
     */
    public void setDeptName(String deptName) {
        this.deptName = deptName == null ? null : deptName.trim();
    }

	public Integer getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(Integer createUserId) {
		this.createUserId = createUserId;
	}

}